<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理</title>
<link href="__PUBLIC__/ht/css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/ht/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/ht/js/action.js"></script>
</head>
<body>

<div class="aaa_pts_show_1">【 会员报名管理 】</div>

<div class="aaa_pts_show_2">
    <div>
       <div class="aaa_pts_4"><a href="{:U('course')}">报名管理</a></div>
    </div>
    <div class="aaa_pts_3">
      <form name='form' action="{:U('index','index')}" method='get'>
      <div class="pro_4 bord_1">
         <div class="pro_5">姓名：<input type="text" class="inp_1 inp_6" name='truename' id="truename" value="<?php echo $truename;?>"></div>
         <div class="pro_6"><input type="button" class="aaa_pts_web_3" value="搜 索" style="margin:0;" onclick="product_option();"></div>
      </div>
      </form>
      <table class="pro_3">
         <tr class="tr_1">
           <td style="width:100px;">ID</td>
           <td style="width:120px;">姓名</td>
           <td>报名课程</td>
           <td style="width:130px;">联系方式</td>
           <td style="width:140px;">报名时间</td>
           <td style="width:120px;">状态</td>
           <td style="width:180px;">操作</td>
         </tr>
          <volist name='list' id='vo'>
          <tr>
            <td>{$vo.id}</td>
            <td>{$vo.truename}</td>
            <td>{$vo.title}</td>
            <td>{$vo.tel}</td>
            <td>{$vo.addtime}</td>
            <td><if condition="$vo.state eq 1"><label style="color:red;">待联系</label><else />已处理</if></td>
            <td><a href="{:U('show')}?id={$vo.id}">查看修改</a>
          </tr>
          </volist>
         <tr>
            <td colspan="10" class="td_2">
              {$page}
            </td>
         </tr>
      </table>      
    </div>
    
</div>
<script>
function product_option(){
  $('form').submit();
}

function del_id_url2(id){
   if(confirm("确认删除吗？"))
   {
	  location='{:U("del")}?did='+id;
   }
}
</script>
</body>
</html>